﻿@model Leikjavefurinn.Models.RegisterModel

@{
    ViewBag.Title = "Nýskráning";
}
<h2>Nýskráning</h2>
<p>
    Lykilorð verður að vera að minnsta kosti @Membership.MinRequiredPasswordLength stafa langt.
</p>

@using (Html.BeginForm()) {
    @Html.ValidationSummary()
    
    <ul data-role="listview" data-inset="true">
        

        <li data-role="fieldcontain">
           <!--@Html.LabelFor(m => m.UserName)-->
            <p>Notendanafn</p>
            @Html.TextBoxFor(m => m.UserName)            
        </li>

        <li data-role="fieldcontain">
           <!--@Html.LabelFor(m => m.Email)-->
            <p>Netfang</p>
            @Html.TextBoxFor(m => m.Email)            
        </li>

        <li data-role="fieldcontain">
           <!--@Html.LabelFor(m => m.Password)-->
            <p>Lykilorð</p>
            @Html.PasswordFor(m => m.Password)            
        </li>

        <li data-role="fieldcontain">
           <!--@Html.LabelFor(m => m.ConfirmPassword)-->
            <p>Staðfesta lykilorð</p>
            @Html.PasswordFor(m => m.ConfirmPassword)            
        </li>

        <li data-role="fieldcontain">
            <input type="submit" value="Nýskrá" />
        </li>
    </ul>
}

@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
}